package com.wb3.meta.api.core.dao;

import com.wb3.meta.api.core.model.MyToys;
import com.wb3.meta.api.core.vo.ReqMyToysVo;
import com.wb3.meta.api.core.vo.ResMyToysVo;
import com.wb3.meta.common.mybatis.MyMapper;

import java.util.Date;
import java.util.List;

public interface MyToysMapper extends MyMapper<MyToys> {
    ResMyToysVo getResModelByConditions(ReqMyToysVo vo);

    List<ResMyToysVo> getModelListByConditions(ReqMyToysVo vo);

    int updateMyToysExpire(Date date);

    int updateMyToysPower();
}